﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 状态模式
{
    /// <summary>
    /// 状态抽象类
    /// </summary>
    public abstract class AbstractState
    {

        /// <summary>
        /// 行为用上下文改变状态
        /// </summary>
        public abstract void Handler(Context context); 
    }
}
